home *** CD-ROM | disk | FTP | other *** search
- On 09-May-97, Hakan Venderlof wrote:
- >I would like to see some suggestions how to highlight a word printed on
- screen
- >when the mouse pointer is over it.
- >Say i've printed
- >Pen 1
- >locate 1,1 : Print"AAA"
- >locate 1,2 : Print"BBB"
- >Now I want the text to be rewritten with Pen 2
- >only when the pointer is over it.
- >I did find some ways to do it but the text always flickers...
-
- You need to add a check into your highlight code that checks to see if the
- text is currently highlighted and, if so, jumps out of the code before it
- redoes it.
-
- Well met and godspeed,
- Giark
- joehick@golden.net
- http://www.golden.net/~joehick/fbn/index.html
- ______ ______ _____ .------------------------------------------.
- / ____/ / __ / / ___ \ ! AMOS games, utilities, demos, etc. !
- / /__ / /_/ / / / / / ! !
- / ___/ / ___ | / / / / ! CyberSpace BBS (519)579-0072 !
- / / / /__/ / / / / / ! on A2000 060/50MHz (519)579-0173 !
- /_/ /______/ /_/ /_/ ! !
- Fly By Nite Videe-Oh! ! FBN Amiga 500 020 14MHz 1C/5F RAM 3.1OS !
- `------------------------------------------'
-
-
-